<include file="public@mobileHeader"/>
<section class="ui-container schedule">
    <h1 class="ui-row ui-whitespace">
        带班列表
        <span>
            <a class="" href="/mobile/schedule/courseList">
                课表安排
            </a>
        </span>
    </h1>

    <if condition="count($data) neq 0">
        <ul class="ui-list ui-list-pure ui-border-tb">
            <foreach name="data" item="vo">
                <table class="ui-table ui-border-tb">
                    <tbody>
                        <tr>
                            <th>校区:</th>
                            <td>{$vo.sname}</td>
                        </tr>
                        <tr>
                            <th>课程:</th>
                            <td>{$vo.course_name}</td>
                        </tr>
                        <tr>
                            <th>班级:</th>
                            <td>{$vo.pname}</td>
                        </tr>
                        <tr>
                            <th>学生数量:</th>
                            <td>{$vo.current_num}</td>
                        </tr>
                        <tr>
                            <th>开始时间:</th>
                            <td>{:date('Y-m-d ',$vo.start_lesson_time)}</td>
                        </tr>
                        <tr>
                            <th>结束时间:</th>
                            <td>{$vo.last_lesson_day}</td>
                        </tr>
                        <tr>
                            <th>上课时间段:</th>
                            <td>{$vo.shangke}</td>
                        </tr>
                    </tbody>
                </table>
            </foreach>
            <div class="pagination">
                {$page}
            </div>
        </ul>

        <else>
            <h3 class="ui-row ui-whitespace">
                无相关信息展示
            </h3>
        </else>
    </if>

</section>
<include file="public@mobileFooter"/>
